package cn.com.cifi.mars.bean.vo.price.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
* @Description:  分期下保存房源包、车位信息
* @Author: wy
* @Date:
*/

@Data
@ApiModel(value="分期下保存房源包、车位信息",description="分期下保存房源包、车位信息")
public class SavePriceHouseParam {

    @ApiModelProperty(value="是否是车位(0：否 1：是 )", name="isParking")
    private Integer isParking;

    @ApiModelProperty(name="id", value="id", required=true)
    private String id;

    @ApiModelProperty(name="isNew", value="是否新增(true是新增)")
    private Boolean isNew;

    @ApiModelProperty(name="isDeleted", value="是否删除(true是删除)")
    private Boolean isDeleted;

    @ApiModelProperty(name="isSplit", value="是否可编辑(0:不可以 1:可以)")
    private Integer isSplit;

    @ApiModelProperty(name="pid", value="父级id", required=true)
    private String pid;

    @ApiModelProperty(name="type", value="层级类型", required=true)
    private String type;

    @ApiModelProperty(name="name", value="名称", required=true)
    private String name;

    @ApiModelProperty(name="areaPart", value="面积段", required=true)
    private String areaPart;

    @ApiModelProperty(name="averagePrice_house", value="房源均价", required=true)
    private BigDecimal averagePrice_house;

    @ApiModelProperty(name="averagePrice_parking", value="车位均价", required=true)
    private BigDecimal averagePrice_parking;

    @ApiModelProperty(name="saleArea", value="可售面积", required=true)
    private BigDecimal saleArea;

    @ApiModelProperty(name="num_house", value="套数", required=true)
    private Integer num_house;

    @ApiModelProperty(name="num_parking", value="可售车位数", required=true)
    private Integer num_parking;

    @ApiModelProperty(name="num_parking_forsale", value="未售车位数", required=true)
    private Integer num_parking_forsale;

    @ApiModelProperty(name="sum_house", value=" 房源货值", required=true)
    private BigDecimal sum_house;

    @ApiModelProperty(name="sum_parking_saling", value="车位货值", required=true)
    private BigDecimal sum_parking_saling;

    @ApiModelProperty(name="sum_parking_forsale", value="待推售车位货值", required=true)
    private BigDecimal sum_parking_forsale;
    
    @ApiModelProperty(name="canEditPrice", value="是否允许编辑", required=true)
    private String canEditPrice;

}
